package org.example.student_dormitory.service;

import org.example.student_dormitory.dto.Result;

public interface AdminManagerService {
    public Result loadtable(String page, String pageSize);
    public Result loadtable(String page, String pageSize, String key, String value);

    public Result checkUsername(String username);

    public Result addAdmin(String username,String password,String name, String gender,String phone, String role);

    public Result deleteById(String id);

    public Result updateAdmin(String id, String username, String password, String name, String gender, String phone, String role);

    public Result deleteList(String[] ids);
}
